#include "WinSetNewZigbeeCmd.h"


WinSetAllowJoinCmd::WinSetAllowJoinCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::PointProtocol;
    this->m_functionCode = FunctionCode;
}

Package WinSetAllowJoinCmd::toPackage()
{
    Package package;
    package.setFunction(FunctionCode);
    return package;
}

void WinSetAllowJoinCmd::unPackage(Package package)
{
    Q_UNUSED(package);
}


WinSetBanJoinCmd::WinSetBanJoinCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::PointProtocol;
    this->m_functionCode = FunctionCode;
}

Package WinSetBanJoinCmd::toPackage()
{
    Package package;
    package.setFunction(FunctionCode);
    return package;
}

void WinSetBanJoinCmd::unPackage(Package package)
{
    Q_UNUSED(package);
}



WinSetQueryNewZigbeeParamCmd::WinSetQueryNewZigbeeParamCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::PointProtocol;
    this->m_functionCode = FunctionCode;
}

Package WinSetQueryNewZigbeeParamCmd::toPackage()
{
    Package package;
    package.setFunction(FunctionCode);
    return package;
}

void WinSetQueryNewZigbeeParamCmd::unPackage(Package package)
{
    Q_UNUSED(package);
}

WinSetQueryZigbeeVersionCmd::WinSetQueryZigbeeVersionCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::PointProtocol;
    this->m_functionCode = FunctionCode;
}

Package WinSetQueryZigbeeVersionCmd::toPackage()
{
    Package package;
    package.setFunction(FunctionCode);
    return package;
}

void WinSetQueryZigbeeVersionCmd::unPackage(Package package)
{
    Q_UNUSED(package);
}
